/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.html.tag;

import org.opensource.jdom.taggen.html.I18nEventAttributes;

/**
 * A client-side image map. Used in conjunction with area to map links to
 * certain regions of an image.
 *
 * <h2>Example</h2> <pre><code class="html">
 * <strong>&lt;map id ="atlas"&gt;</strong>
 * &lt;area shape ="rect" coords ="0,0,115,90" href ="northamerica.html" alt="North America" /&gt;
 * &lt;area shape ="poly" coords ="113,39,187,21,180,72,141,77,117,86" href ="europe.html" alt="Europe" /&gt;
 * &lt;area shape ="poly" coords ="119,80,162,82,175,102,183,102,175,148,122,146" href ="africa.html" alt="Africa" /&gt;
 * <strong>&lt;/map&gt;</strong>
 * </code></pre>
 *
 * @see Area
 * @author sergio.valdez
 */
public class Map extends I18nEventAttributes{

    /**
     * is used to uniquely identify the element.
     */
    private String id;
    /**
     * can be used to reference the element with CSS.
     */
    private String cssClass;
    /**
     * can be used to specify a title for the element. 
     */
    private String title;

    /**
     * Initializing default value
     *
     * @param id is used to uniquely identify the element.
     */
    public Map(String id) {
        this.id = id;
    }

    /**
     * is used to uniquely identify the element.
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * is used to uniquely identify the element.
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * can be used to reference the element with CSS.
     * @return the cssClass
     */
    public String getCssClass() {
        return cssClass;
    }

    /**
     * can be used to reference the element with CSS.
     * @param cssClass the cssClass to set
     */
    public void setCssClass(String cssClass) {
        this.cssClass = cssClass;
    }

    /**
     * can be used to specify a title for the element.
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * can be used to specify a title for the element.
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }


}
